package com.tth.learn.addproperties.java;

import org.junit.Test;

import java.io.File;
import java.nio.file.*;

/**
 * @Author tth
 * @Date 2022/12/27 16:55
 */
public class FilesTest {

    @Test
    public void test() {
        Path path = Paths.get("D:\\project\\JavaSenior\\day10\\image.png");
        System.out.println("exists: " + Files.exists(path, LinkOption.NOFOLLOW_LINKS));

    }
}
